//
//  WWRequestService.h
//  WangLottery
//
//  Created by 黄修勇 on 12-9-10.
//
//

#import <Foundation/Foundation.h>
#import "ASIFormDataRequest.h"

typedef enum{

    WWRequestNetTypeNone,
    WWRequestNetTypeWIFI,
    WWRequestNetType3G,
}WWRequestNetType;


@interface WWRequestService : NSObject{

    
}

@property (nonatomic,readonly)BOOL netWorkEabled;

-(WWRequestNetType)checkNetWork;

-(ASIFormDataRequest *)postFormRequestWithURL:(NSString *)url params:(NSDictionary *)dic target:(id<ASIHTTPRequestDelegate>)delegate timeOut:(NSTimeInterval)time error:(NSError **)error;
@end
